﻿<UserControl x:Class="SilverlightApplication.MapTip"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White" Width="400" Height="300"  >
        <Border CornerRadius="10" BorderBrush="#FF222957" BorderThickness="3" Width="400" Height="300">
            <Border.Background>
                <LinearGradientBrush EndPoint="1.038,1.136" StartPoint="0.015,0.188">
                    <GradientStop Color="#FFD1DFF2"/>
                    <GradientStop Color="#FF0088FF" Offset="0.946"/>
                </LinearGradientBrush>
            </Border.Background>
            <Border.Effect>
                <DropShadowEffect ShadowDepth="10" BlurRadius="14" Direction="300" />
            </Border.Effect>
        </Border>
        <Grid Height="50" Margin="0,1,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="400">
            <TextBlock Text="GPRS" FontSize="18" Foreground="black" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="175,12,165,12" Width="60" />
        </Grid>
        <Grid Height="5" Margin="-2,41,0,0" VerticalAlignment="Top" Width="400" Background="#FF176BE5">
        </Grid>
        <Grid Margin="-2,0,0,58" Height="5" VerticalAlignment="Bottom" Width="400"  Background="#FF176BE5">
        </Grid>
        <Grid Height="61" Margin="0" VerticalAlignment="Bottom" Width="400" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.5*"/>
                <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0">
                <Button x:Name="CancelBtn" Content="取  消"  Width="70" Height="30" Background="#FF222CCE" FontWeight="Bold" FontSize="14" Click="CancelBtn_Click"></Button>
            </Grid>
            <Grid Grid.Column="1">
                <Button x:Name="SendBtn" Content="发  送" Width="70" Height="30" Background="#FF222CCE" FontWeight="Bold" FontSize="14"></Button>
            </Grid>
        </Grid>
        <Grid Height="30" Margin="0,49,0,0" VerticalAlignment="Top" Width="400">
            <StackPanel Orientation="Horizontal">
                <TextBlock x:Name="tb_title" Text="         村      名："  HorizontalAlignment="Left" Margin="17,0,0,0" TextWrapping="Wrap" Width="153"  Height="25"  FontWeight="Bold" FontSize="14"/>
                <TextBox x:Name="cunName"   Width="140"></TextBox>
                <TextBox x:Name="telnumber"  Width="80"></TextBox>
            </StackPanel>
        </Grid>
        <Grid Margin="0,69,0,66" Width="400" Height="150">
            <TextBox x:Name="ContentTBox" Width="380" />
        </Grid>

    </Grid>
</UserControl>
